import { showModal } from "@/utils/uni-api.ts";

export function gotoHome() {
	showModal({
		title: "提示",
		content: "页面参数异常，返回首页",
		showCancel: false,
		success: (res : any) => {
			if (res.confirm) {
				uni.reLaunch({
					url: "/pages/recommend/recommend"
				});
			};
		}
	});
};